<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/normalize.css">
    <link rel="stylesheet" href="./css/index.css">
    <link rel="stylesheet" href="css/swiper.min.css">
</head>

<body>
    <script src="./js/index.js"></script>
    <script src="./js/swiper.min.js"></script>
    <div class="box">
        <!-- 头部 -->
        <div class="header">黑马面面</div>
        <!-- nav部分 -->
        <div class="nav">
            <a href="#"><img src="./icon/icon1.png" alt=""><span>面试</span></a>
            <a href="#"><img src="./icon/icon2.png" alt=""><span>笔试</span></a>
            <a href="#"><img src="./icon/icon3.png" alt=""><span>技术面试</span></a>
            <a href="#"><img src="./icon/icon4.png" alt=""><span>模拟面试</span></a>
            <a href="#"><img src="./icon/icon5.png" alt=""><span>面试技巧</span></a>
            <a href="#"><img src="./icon/icon6.png" alt=""><span>薪资查询</span></a>
        </div>
        <!-- go模块 -->
        <div class="go">
            <img src="./images/go.png" alt="">
        </div>
    </div>
    <!--就业指导轮播图 -->
    <div class="content">
        <h4>就业指导</h2>
            <a href="#">更多>></a>
    </div>
    <div class="get-job-focus">
        <div class="swiper-container job">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
                <div class="swiper-slide"><a href="#"><img src="./images/pic.png" alt=""></a>
                    <p>老师教你应对面试技巧</p>
                </div>
            </div>

        </div>
        <!-- 因为定义父盒子定义了overflow：hidden 所以要放在外面 -->
        <!-- Add Pagination -->
        <div class="swiper-button-prev"></div>
        <!--左箭头。如果放置在swiper-container外面，需要自定义样式。-->
        <div class="swiper-button-next"></div>
        <!--右箭头。如果放置在swiper-container外面，需要自定义样式。-->
    </div>
    <!--学习轮播图 -->
    <div class="content">
        <h4>就业指导</h2>
            <a href="#">更多>></a>
    </div>
    <div class="get-study-focus">
        <div class="swiper-container study">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="./images/pic1.png" alt="">
                    <p>说地道英语；告别中式英语</p>
                    <span>156人学习</span>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic2.png" alt="">
                    <p>说地道英语；告别中式英语</p>
                    <span>156人学习</span>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic1.png" alt="">
                    <p>说地道英语；告别中式英语</p>
                    <span>156人学习</span>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic1.png" alt="">
                    <p>说地道英语；告别中式英语</p>
                    <span>156人学习</span>
                </div>
            </div>
            <!-- Add Pagination -->
  
        </div>

    </div>
    <footer>
        <a href="#" class="item">
            <img src="./icon/home.png" alt="">
            <span>首页</span>
        </a>
        <a href="#" class="item">
            <img src="./icon/net.png" alt="">
            <span>首页</span>
        </a>
        <a href="#" class="item">
            <img src="./icon/ms.png" alt="">
            <span>首页</span>
        </a>
        <a href="#" class="item">
            <img src="./icon/user.png" alt="">
            <span>首页</span>
        </a>
    </footer>
    <script>
        // 就业指导轮播图
        (function () {
            //因为有两个轮播图所以要起不同的名字
            var swiper = new Swiper('.job', {
                //能够显示的轮播图个数
                slidesPerView: 3,
                //   每个盒子之间的距离
                spaceBetween: 30,
                //   要不要放在中间
                centeredSlides: true,
                loop: true,
                //去掉组件
                //   pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                //   },
                //添加组件
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();
        (function () {
            var swiper = new Swiper('.study', {
                slidesPerView: 2.2,
                spaceBetween: 30,
              
            });
        })()

    </script>
</body>

</html>